package com.wx.cloud.zuul.feign;

import com.wx.cloud.zuul.common.CommonResult;
import com.wx.cloud.zuul.feign.fallback.UserFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(value = "user",fallback = UserFallBack.class)
public interface UserFeign {

    @GetMapping("/user/checkAccessToUri")
    CommonResult checkAccessToUri(@RequestParam("uri") String uri, @RequestParam("username") String username);

}
